[IA64] Fix Xen running on IA64. Some function prototypes were
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Jun 2006 06:56:41 +0000 (07:56 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Jun 2006 06:56:41 +0000 (07:56 +0100)
moved to domain.h and hence undefined in some source files.
This meant that some return types defaulted to int, resulting
in corruption.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/ia64/linux-xen/smpboot.c
xen/arch/ia64/xen/domain.c

index cfb96987cc281377d5a61c8cc923ae34dfb294bc..493488ba1ffae022a3c1970a79411732062350d4 100644 (file)
@@ -62,6 +62,7 @@
 #include <asm/unistd.h>
 
 #ifdef XEN
+#include <xen/domain.h>
 #include <asm/hw_irq.h>
 int ht_per_core = 1;
 #ifndef CONFIG_SMP
index b2e61cb03db4535972d894bce3877303f47d7d10..6b3b200529922ad91c4e49c1ea40876fed984094 100644 (file)
@@ -14,7 +14,6 @@
 #include <xen/init.h>
 #include <xen/lib.h>
 #include <xen/errno.h>
-#include <xen/domain.h>
 #include <xen/sched.h>
 #include <xen/smp.h>
 #include <xen/delay.h>
@@ -43,6 +42,7 @@
 
 #include <asm/vcpu.h>   /* for function declarations */
 #include <public/arch-ia64.h>
+#include <xen/domain.h>
 #include <asm/vmx.h>
 #include <asm/vmx_vcpu.h>
 #include <asm/vmx_vpd.h>